<?php /* Smarty version 2.6.26, created on 2010-05-03 15:19:28
         compiled from C:%5CWWW%5C%21VIRTUAL%21%5CHTTP%5Czend.local%5Cpublic%5Capplication%5Csystem/../../application/modules/store/views/scripts/goods/front.tpl */ ?>
  

<h2>Новинки</h2>

<?php $_from = $this->_tpl_vars['newGoods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['newgoods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['newgoods']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['good']):
        $this->_foreach['newgoods']['iteration']++;
?>
<div class="item_area">

<div class="item_image"><div class="category_images"><?php echo $this->callViewHelper('image',array($this->_tpl_vars['images'],$this->_tpl_vars['good']->id)); ?></div></div>
    
<div class="item_info_block">

        <div class="item_name"><h3><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/view/id/<?php echo $this->_tpl_vars['good']->id; ?>
"><?php echo $this->_tpl_vars['good']->name; ?>
</a></h3></div>
    
        <div class="price"><?php echo $this->callViewHelper('price',array($this->_tpl_vars['good']->price)); ?></div>
    
        <?php if ($this->_tpl_vars['good']->stock == 1): ?>
        <div class="buy_button"><a class="rollover" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php else: ?>
        <div class="buy_button"><a class="rollover2" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php endif; ?>

</div>
</div>
 
<?php if (!($this->_foreach['newgoods']['iteration'] % 4)): ?><div class="clear"></div><?php endif; ?>

<?php endforeach; endif; unset($_from); ?><div class="clear"></div>


<div style="border-bottom:2px dashed #b3e3fc; width:96%; margin-bottom:15px;"></div>

 

<h2>Хиты</h2>
<?php $_from = $this->_tpl_vars['hitGoods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['hitgoods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['hitgoods']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['good']):
        $this->_foreach['hitgoods']['iteration']++;
?>
<div class="item_area">

<div class="item_image"><div class="category_images"><?php echo $this->callViewHelper('image',array($this->_tpl_vars['images'],$this->_tpl_vars['good']->id)); ?></div></div>
    
<div class="item_info_block">

        <div class="item_name"><h3><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/view/id/<?php echo $this->_tpl_vars['good']->id; ?>
"><?php echo $this->_tpl_vars['good']->name; ?>
</a></h3></div>
    
        <div class="price"><?php echo $this->callViewHelper('price',array($this->_tpl_vars['good']->price)); ?></div>
    
        <?php if ($this->_tpl_vars['good']->stock == 1): ?>
        <div class="buy_button"><a class="rollover" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php else: ?>
        <div class="buy_button"><a class="rollover2" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php endif; ?>

</div>
</div>
 
<?php if (!($this->_foreach['hitgoods']['iteration'] % 4)): ?><div class="clear"></div><?php endif; ?>

<?php endforeach; endif; unset($_from); ?><div class="clear"></div>


<div style="border-bottom:2px dashed #b3e3fc; width:96%; margin-bottom:15px;"></div>

 

<h2>Витрина</h2>
<?php $_from = $this->_tpl_vars['goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['goods'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['good']):
        $this->_foreach['goods']['iteration']++;
?>
<div class="item_area">

<div class="item_image"><div class="category_images"><?php echo $this->callViewHelper('image',array($this->_tpl_vars['images'],$this->_tpl_vars['good']->id)); ?></div></div>
    
<div class="item_info_block">

        <div class="item_name"><h3><a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/view/id/<?php echo $this->_tpl_vars['good']->id; ?>
"><?php echo $this->_tpl_vars['good']->name; ?>
</a></h3></div>
    
        <div class="price"><?php echo $this->callViewHelper('price',array($this->_tpl_vars['good']->price)); ?></div>
    
        <?php if ($this->_tpl_vars['good']->stock == 1): ?>
        <div class="buy_button"><a class="rollover" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php else: ?>
        <div class="buy_button"><a class="rollover2" href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/goods/buy/id/<?php echo $this->_tpl_vars['good']->id; ?>
"></a></div>
    <?php endif; ?>

</div>
</div>
 
<?php if (!($this->_foreach['goods']['iteration'] % 4)): ?><div class="clear"></div><?php endif; ?>

<?php endforeach; endif; unset($_from); ?><div class="clear"></div>


